package com.ml.mall.service.seting;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ml.mall.bean.base.ApiRestResult;
import com.ml.mall.bean.req.seting.SetingEditDto;
import com.ml.mall.bean.req.seting.SetingNewDto;
import com.ml.mall.bean.res.seting.SetingRes;
import com.ml.mall.entity.seting.SysASeting;

import java.util.List;

public interface SysASetingService extends IService<SysASeting>{

    /**
     * @description    :新增系统设置
     * @author         :zxm
     * @date           :2021/5/19
    **/
    ApiRestResult createSeting(SetingNewDto dto);

    /**
     * @description    :修改系统设置
     * @author         :zxm
     * @date           :2021/5/19
    **/
    ApiRestResult editSeting(SetingEditDto dto);

    /**
     * @description    :系统设置全查询
     * @author         :zxm
     * @date           :2021/5/19
    **/
    List<SetingRes> queryListSeting();
}
